// To parse this JSON data, do
//
//     final myvertuUserBean = myvertuUserBeanFromJson(jsonString);

import 'dart:convert';

import 'package:json_annotation/json_annotation.dart';

part 'myvertu_user_bean.g.dart';

MyvertuUserBean myvertuUserBeanFromJson(String str) =>
    MyvertuUserBean.fromJson(json.decode(str));

String myvertuUserBeanToJson(MyvertuUserBean data) =>
    json.encode(data.toJson());

@JsonSerializable()
class MyvertuUserBean {
  @JsonKey(name: "id")
  String? id;
  @JsonKey(name: "name")
  String? name;
  @JsonKey(name: "gender")
  int? gender;
  @JsonKey(name: "avatar")
  String? avatar;
  @JsonKey(name: "cc")
  int? cc;
  @JsonKey(name: "mobile")
  String? mobile;
  @JsonKey(name: "email")
  String? email;
  @JsonKey(name: "province")
  String? province;
  @JsonKey(name: "city")
  String? city;
  @JsonKey(name: "area")
  String? area;
  @JsonKey(name: "address")
  String? address;
  @JsonKey(name: "astro")
  int? astro;
  @JsonKey(name: "language")
  String? language;
  @JsonKey(name: "birthday")
  String? birthday;
  @JsonKey(name: "interest")
  List<dynamic>? interest;

  MyvertuUserBean({
    this.id,
    this.name,
    this.gender,
    this.avatar,
    this.cc,
    this.mobile,
    this.email,
    this.province,
    this.city,
    this.area,
    this.address,
    this.astro,
    this.language,
    this.birthday,
    this.interest,
  });

  factory MyvertuUserBean.fromJson(Map<String, dynamic> json) =>
      _$MyvertuUserBeanFromJson(json);

  Map<String, dynamic> toJson() => _$MyvertuUserBeanToJson(this);
}
